package top.wilsonlv.jaguar.commons.web.swagger;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import top.wilsonlv.jaguar.commons.web.enums.OAuth2GrantType;

/**
 * @author lws
 * @since 2019/4/22.
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "jaguar.web.swagger")
public class SwaggerProperties {

    private Boolean enable = true;

    private String title = "Jaguar接口文档";

    private String description;

    private String contactName = "wilsonlv";

    private String contactUrl = "https://gitee.com/Wilson_Lws/jaguar";

    private String contactEmail = "wilson.lv@icloud.com";

    private String termsOfServiceUrl;

    private Boolean globalAuthorization = true;

    private String license = "Apache License, Version 2.0";

    private String licenseUrl = "https://gitee.com/Wilson_Lws/jaguar/blob/master/LICENSE";

    private OAuth2GrantType oAuth2GrantType;

    private String authorizationUrl;

    private String authTokenUrl;

    private String clientId;

    private String clientSecret;

}
